#include "Item.h"
#include "stdafx.h"

class Item{

public:
	Item::Item (const string& iName, const string& iDescription)
	{
		*name = iName;
		*description = iDescription;
		*title = "";
	}

	Item::~Item ()
	{

	}

	string* Item::GetName ()
	{
		return name;
	}

	bool Item::operator==(const Item& other) const
	{
		return other.name == name;
	}

	bool Item::operator!=(const Item& other) const
	{
		return other.name != name;
	}
	string* Item::getTitle()
	{
		return title;
	}
private:

	string* name;
	string* description;
	string* title;
};